<template>
  <div>
    <video :src="src" controls="controls">您的浏览器不支持 video 标签。</video>
  </div>
</template>

<script>
export default {
  props: {
    src: {
      type: String,
    },
  },
};
</script>

<style scoped>
video {
  width: 200px;
  height: 200px;
}
</style>